import java.io.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import nanuk.*;
// This is a servlet class that is being called, when user wants to subscribe.
public class DeclineInvitation extends HttpServlet{
protected void doPost(HttpServletRequest request, HttpServletResponse response)
     throws ServletException, IOException {
 response.setContentType("text/html");
 PrintWriter pw = response.getWriter();
 String applicationid = request.getParameter("applicationid");
 String applicationcredentials = request.getParameter("applicationcredentials");
 String login = request.getParameter("login");
 String invitationid = request.getParameter("invitationid");

 //connect to the database
 Connection con = null;
 ResultSet rs = null;
 Statement stmt = null;
 PreparedStatement pst = null;
 String query = "";

   // Return status back to the nanuk share server
   pw.println("{\"status\":200}");
 
 

 
}
}
     
